package com.dcbeida.activity.stockdetail;

import com.dcbeida.base.BasePresenter;
import com.dcbeida.base.BaseView;
import com.dcbeida.bean.StockDetail;

import java.util.ArrayList;

/**
 * Created by 150410 on 2017/10/18.
 */

public class RkStockDetailContract {
    interface View extends BaseView<RkStockDetailContract.Persent> {
        void showTelTip(String msg);//接口返回的msg

        void showView(boolean hasData);//接口有返回数据

        void showList(ArrayList<StockDetail.ListBean> list);

        void showData(StockDetail stockDetail);
    }

    interface Persent extends BasePresenter {
        /**
         * @param isall     0 只显示在库存中的数据 1所有的记录
         * @param pageindex 页码
         * @param pagesize  数量
         */
        void getList(String isall, int pageindex, int pagesize);//
    }
}
